/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const equipmentRouter = {
  path: '/management',
  component: Layout,
  redirect: '/management/equipment',
  meta: {
    // title: '设备管理',
    icon: 'equipment',
    roles: ['machine']
  },
  children: [{
    path: 'equipment',
    name: 'Equipment',
    component: () => import('@/views/equipment/index'),
    meta: {
      title: '设备管理',
      icon: 'myplant',
      roles: ['machine:get']
    }
  }]
}

export default equipmentRouter
